import request from '@/utils/request'

/**
 * @desc  商品搜索数据
 * @returns {Promise<AxiosResponse<any>>}
 * @param params  '所需参数'
 */
export const getSearchDataApi = (params) => {
  return request({
    method: 'POST',
    url: '/api/list',
    data: params
  })
}
